﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 派工单行AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class DispatchOrderDocLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public DispatchOrderDocLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					LineNum= 0; 
							DispatchQty=0m; 
					RealLaborPrepareHours=0m; 
					RealLaborProcessHours=0m; 
					RealMachinePrepareHours=0m; 
					RealMachineProcessHours=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.DispatchOrderAITDTO != null) 
			{
				this.DispatchOrderAITDTO.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public DispatchOrderDocLineAITDTOData(  ufida.u9.ait.openapi.DispatchOrderAITDTOData dispatchOrderAITDTO  , System.String mOOperation  , System.Int32 lineNum  , System.Decimal dispatchQty  , System.Decimal realLaborPrepareHours  , System.Decimal realLaborProcessHours  , System.Decimal realMachinePrepareHours  , System.Decimal realMachineProcessHours  )
		{
			initData();
			this.DispatchOrderAITDTO = dispatchOrderAITDTO;
			this.MOOperation = mOOperation;
			this.LineNum = lineNum;
			this.DispatchQty = dispatchQty;
			this.RealLaborPrepareHours = realLaborPrepareHours;
			this.RealLaborProcessHours = realLaborProcessHours;
			this.RealMachinePrepareHours = realMachinePrepareHours;
			this.RealMachineProcessHours = realMachineProcessHours;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 派工单AITDTO
		/// 派工单行AITDTO.Misc.派工单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.DispatchOrderAITDTOData m_dispatchOrderAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.DispatchOrderAITDTOData DispatchOrderAITDTO
		{
			get	
			{	
				return m_dispatchOrderAITDTO ;
			}
			set	
			{	
				m_dispatchOrderAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 订单工序
		/// 派工单行AITDTO.Misc.订单工序
		/// </summary>
		private System.String m_mOOperation ;
		[DataMember(IsRequired=false)]
		public System.String MOOperation
		{
			get	
			{	
				return m_mOOperation ;
			}
			set	
			{	
				m_mOOperation = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 派工单行AITDTO.Misc.行号
		/// </summary>
		private System.Int32 m_lineNum ;
		[DataMember(IsRequired=false)]
		public System.Int32 LineNum
		{
			get	
			{	
				return m_lineNum ;
			}
			set	
			{	
				m_lineNum = value ;	
			}
		}
			
		

		/// <summary>
		/// 派工数量
		/// 派工单行AITDTO.Misc.派工数量
		/// </summary>
		private System.Decimal m_dispatchQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal DispatchQty
		{
			get	
			{	
				return m_dispatchQty ;
			}
			set	
			{	
				m_dispatchQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际人工准备工时
		/// 派工单行AITDTO.Misc.实际人工准备工时
		/// </summary>
		private System.Decimal m_realLaborPrepareHours ;
		[DataMember(IsRequired=false)]
		public System.Decimal RealLaborPrepareHours
		{
			get	
			{	
				return m_realLaborPrepareHours ;
			}
			set	
			{	
				m_realLaborPrepareHours = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际人工加工工时
		/// 派工单行AITDTO.Misc.实际人工加工工时
		/// </summary>
		private System.Decimal m_realLaborProcessHours ;
		[DataMember(IsRequired=false)]
		public System.Decimal RealLaborProcessHours
		{
			get	
			{	
				return m_realLaborProcessHours ;
			}
			set	
			{	
				m_realLaborProcessHours = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际机器准备工时
		/// 派工单行AITDTO.Misc.实际机器准备工时
		/// </summary>
		private System.Decimal m_realMachinePrepareHours ;
		[DataMember(IsRequired=false)]
		public System.Decimal RealMachinePrepareHours
		{
			get	
			{	
				return m_realMachinePrepareHours ;
			}
			set	
			{	
				m_realMachinePrepareHours = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际机器加工工时
		/// 派工单行AITDTO.Misc.实际机器加工工时
		/// </summary>
		private System.Decimal m_realMachineProcessHours ;
		[DataMember(IsRequired=false)]
		public System.Decimal RealMachineProcessHours
		{
			get	
			{	
				return m_realMachineProcessHours ;
			}
			set	
			{	
				m_realMachineProcessHours = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																
		#endregion 
	} 	
}
